#include "ukui-nvpower-plugin.h"
#include <QQmlEngine>
#include <QQmlContext>
#include "nvpower.h"

void UkuiNvpowerPlugin::registerTypes(const char *uri)
{
    Q_ASSERT(QString(uri) == QLatin1String("org.ukui.nvpower"));
    qmlRegisterModule(uri, 1, 0);
    qmlRegisterType<NvPower>(uri, 1, 0, "NvPower");
}